package com.zkingsoft.laqeelin.dao;

import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
import com.matrix.core.pojo.PaginationVO;
import com.zkingsoft.laqeelin.bean.BizQrcode;

/**
 * @description (二维码记录表)
 * @author 何明
 * @date 2018-09-26 18:31
 */
public interface BizQrcodeDao{

	public int insert(@Param("item") BizQrcode bizQrcode);
   	
   	public int batchInsert(@Param("list") List<BizQrcode> bizQrcodeList);
   	
	public int updateByMap(Map<String, Object> modifyMap);
	
	public int updateByModel(@Param("record")BizQrcode bizQrcode);
	
	public int deleteByIds(@Param("list") List<Long> list);
	
	public int deleteById(Long codeId);

	public int deleteByModel(@Param("record") BizQrcode bizQrcode);
	
	public List<BizQrcode> selectInPage(@Param("record") BizQrcode bizQrcode, @Param("pageVo") PaginationVO pageVo);

	public List<BizQrcode> selectByModel(@Param("record") BizQrcode bizQrcode);
	
	public int selectTotalRecord(@Param("record") BizQrcode bizQrcode);
	
	public BizQrcode  selectById(Long codeId);
	
	public BizQrcode  selectForUpdate(Long codeId);
	
}